package com.mlj.service;

import com.mlj.pojo.Apartment;
import com.mlj.util.Result;

import java.util.List;

public interface ApartmentService {
    List<Apartment> selectApartmentName();

    Result getApartmentList(Integer page, Integer limit);

    Result delApartmentById(Integer id);

    Result deleteBatch(Integer[] ids);

    Result addApartment(Apartment apartment);

    Result search(String address, Integer page, Integer limit);

    Result updateApartment(Apartment apartment);
}
